package com.examination.service.impl;

import com.examination.bean.ExamePaper;
import com.examination.bean.ExamePaperDetail;
import com.examination.bean.ExamePaperScore;
import com.examination.dao.ExamePaperDetailDao;
import com.examination.service.IExamePaperDetailService;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @Auther: GongXl
 * @Date: 027 16:37
 * @Description:
 */
public class ExamePaperDetailService implements IExamePaperDetailService {
    private ExamePaperDetailDao examePaperDetailDao = new ExamePaperDetailDao();
    public List<Map> getExamePaperDetailList(ExamePaperDetail examePaperDetail){
        List<Map> list = examePaperDetailDao.getExamePaperDetailList(examePaperDetail);
        return list;
    }

    @Override
    public List<ExamePaper> getExamePaperList(ExamePaper examePaper) {
        List<ExamePaper> list = examePaperDetailDao.getExamePaperList(examePaper);
        return list;
    }

    @Override
    public String addExamePaperScore(ExamePaperScore examePaperScore) {
        return examePaperDetailDao.addExamePaperScore(examePaperScore);
    }
}